﻿<UserControl x:Class="HomeModuleAddin.UserControl1"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:res="clr-namespace:HomeModuleAddin.Properties"
             mc:Ignorable="d" 
             d:DesignHeight="407" d:DesignWidth="651">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="153*" />
            <ColumnDefinition Width="498*" />
        </Grid.ColumnDefinitions>
        <TreeView Margin="0,36,0,0" Name="treeView1">
            
            <TreeViewItem Header="{x:Static res:Resources.DashboardLable}" Selected="TreeViewItem_Selected">
                                            <TreeViewItem.HeaderTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal">
                        <Image Height="30" Source="/HomeModuleAddin;component/Images/1303161359_control-panel-px-png.png"></Image>
                        <Label Content="{Binding}" VerticalAlignment="Center" />
                    </StackPanel>
                </DataTemplate>
            </TreeViewItem.HeaderTemplate>
            </TreeViewItem>
            
            <TreeViewItem Header="Resources center" >
                <TreeViewItem.HeaderTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal">
                            <Image Height="30" Source="/HomeModuleAddin;component/Images/1303161759_25.png"></Image>
                            <Label Content="{Binding}" VerticalAlignment="Center" />
                        </StackPanel>
                    </DataTemplate>
                </TreeViewItem.HeaderTemplate>
                          </TreeViewItem>

            <TreeViewItem Header="Activities">
                <TreeViewItem.HeaderTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal">
                            <Image Height="30" Source="/HomeModuleAddin;component/Images/1303161353_control_panel.png"></Image>
                            <Label Content="{Binding}" VerticalAlignment="Center" />
                        </StackPanel>
                    </DataTemplate>
                </TreeViewItem.HeaderTemplate>
            </TreeViewItem>

        </TreeView>
        <DockPanel Grid.Column="1" Margin="0,36,0,0" Name="dockPanel1" />
    </Grid>
</UserControl>
